<template>
    <div>
        <p> 这是home界面。 </p>
    </div>
    <div>
        <a-config-provider :locale="locale">
            <router-view></router-view><!-- 路由视图，动态加载路由对应界面 -->
        </a-config-provider>
    </div>
</template>

<script>
import {ref} from 'vue'

</script>

<style>
html {
  height: 100%;
  width: 100%;
}
.home-nav {
  height: 50px;
  width: 100%;
  background-color: #fdf0e0;
  display: flex;
  flex-direction: row;
  /*主轴为水平方向*/
  align-items: center;
  box-shadow: 0px 1px 5px 5px rgba(0, 0, 0, 0.05);
}
.home-nav-mainmenu {
  margin-left: 50px;
  height: 60px;
  line-height: 60px;
  width: 600px;
  font-size: 20px;
  text-align: center;

  background-color: #fdf0e0;
  color: #e79229;
}
.home-nav-usermenu {
  margin-top: 20px;
  width: 140px;
  color: #f0c896;
}
.home-nav-usermenu-item {
  font-size: 18px;
  height: 40px;
  font-family: 宋体;
  color: #e79229;
}
.home-nav-logo {
  height: 60px;
}
.home-nav-search {
  width: 250px;
  height: 35px;
  font-size: 24px;
  border-radius: 8px;
  margin-left: 50px;
  border-color: #f0c896;
  color: #f0c896;
}
.home-nav-currentuser {
  width: 120px;
  display: flex;
  flex-direction: row;
  /*主轴为水平方向*/
  align-items: center;
}
.home-nav-currentuser-avatar {
  margin-left: 30px;
  height: 45px;
  border-radius: 50%;
}
.home-nav-button {
  margin-left: 10px;
  border-radius: 20px;
  font-size: 16px;
  color: #e79229;
  border-color: #e79229;
  background-color: #fdf0e0;
  display: flex;
  flex-direction: row;
  /*主轴为水平方向*/
  align-items: center;
}
.home-nav-message {
  margin-left: 20px;
  color: #e79229;
  height: 50px;
  display: flex;
  flex-direction: row;
  /*主轴为水平方向*/
  align-items: center;
}
.home-nav-messagenum {
  margin-left: -5px;
  margin-top: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background-color: red;
  font-size: 14px;
  color: white;
}
.home-nav-write {
  width: 150px;
  height: 35px;
  margin-left: 30px;
  font-size: 18px;
  display: flex;
  flex-direction: row;
  /*主轴为水平方向*/
  align-items: center;
  border-radius: 10px;
  border-color: #e79229;
  color: #e79229;
}

#advertisement {
  display: flex;
  margin: 15px 0 0 5px;
  width: 150px;
  height: 600px;
  background-color: green;
}
#forum {
  position: absolute;
  top: 50px;
  left: 160px;
  margin: 15px 0 0 5px;
  width: 1365px;
  height: 600px;
  background-color: yellow;
}
.home-bottom {
  position: absolute;
  bottom: 0;
  height: 38px;
  width: 100%;
  background-color: #fdf0e0;
}
.home-bottom-inform {
  font-size: 10px;
  align-content: center;
  color: #e79229;
}
</style>
